package com.opentae.data.mall.examples;

import com.opentae.core.mybatis.SgExample;
import com.opentae.core.mybatis.example.EntityColumn;
import com.opentae.core.mybatis.example.EntityTable;
import com.opentae.core.mybatis.mapperhelper.EntityHelper;
import com.opentae.data.mall.beans.LocalInfo;

import java.util.*;
public class LocalInfoExample extends SgExample<LocalInfoExample.Criteria> {
    public static final Class<LocalInfo> beanClass = LocalInfo.class;
    public static final EntityTable entityTable = EntityHelper.getEntityTable(beanClass);
    public static EntityColumn webSite;
    public static EntityColumn itemInfos;
    public static EntityColumn goatType;
    public static EntityColumn description;
    public static EntityColumn localCode;
    public static EntityColumn localId;
    static {
        Set<EntityColumn> columns = entityTable.getEntityClassColumns();
        Map<String, EntityColumn> listMap = new HashMap<>();
        for (EntityColumn column : columns) {
            listMap.put(column.getProperty(), column);
        }
        webSite = listMap.get("webSite");
        itemInfos = listMap.get("itemInfos");
        goatType = listMap.get("goatType");
        description = listMap.get("description");
        localCode = listMap.get("localCode");
        localId = listMap.get("localId");
        }

    public LocalInfoExample() {
        this.setTableAlias(entityTable.getName());
    }

    @Override
    public EntityTable getEntityTable() {
        return entityTable;
    }

    @Override
    protected LocalInfoExample.Criteria createCriteriaInternal() {
        return new LocalInfoExample.Criteria(this);
    }

    public static class Criteria extends SgExample.GeneratedCriteria<Criteria> {
        protected Criteria(SgExample example) {
            super(example);
        }

        public LocalInfoExample.Criteria andWebSiteIsNull() {
            return isNull(webSite);
        }

        public LocalInfoExample.Criteria andWebSiteIsNotNull() {
            return isNotNull(webSite);
        }

        public LocalInfoExample.Criteria andWebSiteEqualTo(String value) {
            return equalTo(webSite, value);
        }

        public LocalInfoExample.Criteria andWebSiteNotEqualTo(String value) {
            return notEqualTo(webSite, value);
        }

        public LocalInfoExample.Criteria andWebSiteGreaterThan(String value) {
            return greaterThan(webSite, value);
        }

        public LocalInfoExample.Criteria andWebSiteGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(webSite, value);
        }

        public LocalInfoExample.Criteria andWebSiteLessThan(String value) {
            return lessThan(webSite, value);
        }

        public LocalInfoExample.Criteria andWebSiteLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(webSite, value);
        }

        public LocalInfoExample.Criteria andWebSiteLike(String value) {
            return like(webSite, value);
        }

        public LocalInfoExample.Criteria andWebSiteNotLike(String value) {
            return notLike(webSite, value);
        }

        public LocalInfoExample.Criteria andWebSiteIn(List<String> values) {
            return in(webSite, values);
        }

        public LocalInfoExample.Criteria andWebSiteNotIn(List<String> values) {
            return notIn(webSite, values);
        }

        public LocalInfoExample.Criteria andWebSiteBetween(String value1, String value2) {
            return between(webSite, value1, value2);
        }

        public LocalInfoExample.Criteria andWebSiteNotBetween(String value1, String value2) {
            return notBetween(webSite, value1, value2);
        }
        public LocalInfoExample.Criteria andItemInfosIsNull() {
            return isNull(itemInfos);
        }

        public LocalInfoExample.Criteria andItemInfosIsNotNull() {
            return isNotNull(itemInfos);
        }

        public LocalInfoExample.Criteria andItemInfosEqualTo(List value) {
            return equalTo(itemInfos, value);
        }

        public LocalInfoExample.Criteria andItemInfosNotEqualTo(List value) {
            return notEqualTo(itemInfos, value);
        }

        public LocalInfoExample.Criteria andItemInfosGreaterThan(List value) {
            return greaterThan(itemInfos, value);
        }

        public LocalInfoExample.Criteria andItemInfosGreaterThanOrEqualTo(List value) {
            return greaterThanOrEqualTo(itemInfos, value);
        }

        public LocalInfoExample.Criteria andItemInfosLessThan(List value) {
            return lessThan(itemInfos, value);
        }

        public LocalInfoExample.Criteria andItemInfosLessThanOrEqualTo(List value) {
            return lessThanOrEqualTo(itemInfos, value);
        }

        public LocalInfoExample.Criteria andItemInfosIn(List<List> values) {
            return in(itemInfos, values);
        }

        public LocalInfoExample.Criteria andItemInfosNotIn(List<List> values) {
            return notIn(itemInfos, values);
        }

        public LocalInfoExample.Criteria andItemInfosBetween(List value1, List value2) {
            return between(itemInfos, value1, value2);
        }

        public LocalInfoExample.Criteria andItemInfosNotBetween(List value1, List value2) {
            return notBetween(itemInfos, value1, value2);
        }
        public LocalInfoExample.Criteria andGoatTypeIsNull() {
            return isNull(goatType);
        }

        public LocalInfoExample.Criteria andGoatTypeIsNotNull() {
            return isNotNull(goatType);
        }

        public LocalInfoExample.Criteria andGoatTypeEqualTo(Integer value) {
            return equalTo(goatType, value);
        }

        public LocalInfoExample.Criteria andGoatTypeNotEqualTo(Integer value) {
            return notEqualTo(goatType, value);
        }

        public LocalInfoExample.Criteria andGoatTypeGreaterThan(Integer value) {
            return greaterThan(goatType, value);
        }

        public LocalInfoExample.Criteria andGoatTypeGreaterThanOrEqualTo(Integer value) {
            return greaterThanOrEqualTo(goatType, value);
        }

        public LocalInfoExample.Criteria andGoatTypeLessThan(Integer value) {
            return lessThan(goatType, value);
        }

        public LocalInfoExample.Criteria andGoatTypeLessThanOrEqualTo(Integer value) {
            return lessThanOrEqualTo(goatType, value);
        }

        public LocalInfoExample.Criteria andGoatTypeIn(List<Integer> values) {
            return in(goatType, values);
        }

        public LocalInfoExample.Criteria andGoatTypeNotIn(List<Integer> values) {
            return notIn(goatType, values);
        }

        public LocalInfoExample.Criteria andGoatTypeBetween(Integer value1, Integer value2) {
            return between(goatType, value1, value2);
        }

        public LocalInfoExample.Criteria andGoatTypeNotBetween(Integer value1, Integer value2) {
            return notBetween(goatType, value1, value2);
        }
        public LocalInfoExample.Criteria andDescriptionIsNull() {
            return isNull(description);
        }

        public LocalInfoExample.Criteria andDescriptionIsNotNull() {
            return isNotNull(description);
        }

        public LocalInfoExample.Criteria andDescriptionEqualTo(String value) {
            return equalTo(description, value);
        }

        public LocalInfoExample.Criteria andDescriptionNotEqualTo(String value) {
            return notEqualTo(description, value);
        }

        public LocalInfoExample.Criteria andDescriptionGreaterThan(String value) {
            return greaterThan(description, value);
        }

        public LocalInfoExample.Criteria andDescriptionGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(description, value);
        }

        public LocalInfoExample.Criteria andDescriptionLessThan(String value) {
            return lessThan(description, value);
        }

        public LocalInfoExample.Criteria andDescriptionLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(description, value);
        }

        public LocalInfoExample.Criteria andDescriptionLike(String value) {
            return like(description, value);
        }

        public LocalInfoExample.Criteria andDescriptionNotLike(String value) {
            return notLike(description, value);
        }

        public LocalInfoExample.Criteria andDescriptionIn(List<String> values) {
            return in(description, values);
        }

        public LocalInfoExample.Criteria andDescriptionNotIn(List<String> values) {
            return notIn(description, values);
        }

        public LocalInfoExample.Criteria andDescriptionBetween(String value1, String value2) {
            return between(description, value1, value2);
        }

        public LocalInfoExample.Criteria andDescriptionNotBetween(String value1, String value2) {
            return notBetween(description, value1, value2);
        }
        public LocalInfoExample.Criteria andLocalCodeIsNull() {
            return isNull(localCode);
        }

        public LocalInfoExample.Criteria andLocalCodeIsNotNull() {
            return isNotNull(localCode);
        }

        public LocalInfoExample.Criteria andLocalCodeEqualTo(String value) {
            return equalTo(localCode, value);
        }

        public LocalInfoExample.Criteria andLocalCodeNotEqualTo(String value) {
            return notEqualTo(localCode, value);
        }

        public LocalInfoExample.Criteria andLocalCodeGreaterThan(String value) {
            return greaterThan(localCode, value);
        }

        public LocalInfoExample.Criteria andLocalCodeGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(localCode, value);
        }

        public LocalInfoExample.Criteria andLocalCodeLessThan(String value) {
            return lessThan(localCode, value);
        }

        public LocalInfoExample.Criteria andLocalCodeLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(localCode, value);
        }

        public LocalInfoExample.Criteria andLocalCodeLike(String value) {
            return like(localCode, value);
        }

        public LocalInfoExample.Criteria andLocalCodeNotLike(String value) {
            return notLike(localCode, value);
        }

        public LocalInfoExample.Criteria andLocalCodeIn(List<String> values) {
            return in(localCode, values);
        }

        public LocalInfoExample.Criteria andLocalCodeNotIn(List<String> values) {
            return notIn(localCode, values);
        }

        public LocalInfoExample.Criteria andLocalCodeBetween(String value1, String value2) {
            return between(localCode, value1, value2);
        }

        public LocalInfoExample.Criteria andLocalCodeNotBetween(String value1, String value2) {
            return notBetween(localCode, value1, value2);
        }
        public LocalInfoExample.Criteria andLocalIdIsNull() {
            return isNull(localId);
        }

        public LocalInfoExample.Criteria andLocalIdIsNotNull() {
            return isNotNull(localId);
        }

        public LocalInfoExample.Criteria andLocalIdEqualTo(Long value) {
            return equalTo(localId, value);
        }

        public LocalInfoExample.Criteria andLocalIdNotEqualTo(Long value) {
            return notEqualTo(localId, value);
        }

        public LocalInfoExample.Criteria andLocalIdGreaterThan(Long value) {
            return greaterThan(localId, value);
        }

        public LocalInfoExample.Criteria andLocalIdGreaterThanOrEqualTo(Long value) {
            return greaterThanOrEqualTo(localId, value);
        }

        public LocalInfoExample.Criteria andLocalIdLessThan(Long value) {
            return lessThan(localId, value);
        }

        public LocalInfoExample.Criteria andLocalIdLessThanOrEqualTo(Long value) {
            return lessThanOrEqualTo(localId, value);
        }

        public LocalInfoExample.Criteria andLocalIdIn(List<Long> values) {
            return in(localId, values);
        }

        public LocalInfoExample.Criteria andLocalIdNotIn(List<Long> values) {
            return notIn(localId, values);
        }

        public LocalInfoExample.Criteria andLocalIdBetween(Long value1, Long value2) {
            return between(localId, value1, value2);
        }

        public LocalInfoExample.Criteria andLocalIdNotBetween(Long value1, Long value2) {
            return notBetween(localId, value1, value2);
        }
    }
}
